package jannex.label;

import java.util.Collection;
import java.util.Collections;
import java.util.Set;

class EmptyLabelMap<V> extends LabelMap<V> {

    @Override
    public LabelSet keySet() {
        return LabelSet.empty();
    }

    @Override
    public Set<Entry<String, V>> entrySet() {
        return Collections.emptySet();
    }

    @Override
    public int size() {
        return 0;
    }

    @Override
    public V get(Object key) {
        return null;
    }

    @Override
    public Collection<V> values() {
        return Collections.emptyList();
    }

    @Override
    public boolean containsKey(Object key) {
        return false;
    }

    @Override
    public boolean containsValue(Object value) {
        return false;
    }

    @Override
    LabelMap<V> newFromValues(Object[] objects) {
        return this;
    }
}
